package com.sztx.pay.center.dataaccess.dao.mysql;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sztx.pay.center.dataaccess.domain.OrderB2cDO;
import com.sztx.pay.center.dataaccess.domain.OrderMappingDO;
import com.sztx.se.dataaccess.mysql.BaseMysqlDAO;
import com.sztx.se.dataaccess.mysql.config.PageQuery;

public interface OrderMappingMysqlDAO extends BaseMysqlDAO<OrderMappingDO> {

	Integer save(OrderMappingDO orderMappingDO);

	void delete(@Param("mappingOrderId") String mappingOrderId);

	OrderB2cDO findById(@Param("mappingOrderId") String mappingOrderId);

	OrderMappingDO find(OrderMappingDO orderMappingDO);
	
	Integer totalCount(OrderMappingDO orderMappingDO);
	
	List<OrderMappingDO> findOrderMapping(@Param("orderMappingDO") OrderMappingDO orderMappingDO, @Param("pageQuery") PageQuery pageQuery);
	
	void deleteDumpCount(@Param("startTime") String startTime, @Param("endTime") String endTime);
}